<%
    /**
     * 横表样例
     * edited by amon 2005-8-16
     */
%>
<%@ include file ="/common/ini.jsp"%>
<%@ include file ="/common/_log4j.jsp"%>
<%@ include file ="/common/List/_js.jsp"%>
<%@ include file ="/common/params/_putParamsInSession.jsp"%>
<script>
    // 新增
    function add() 
    {
        window.location.href = "<%= request.getContextPath()%>/moduleinfor/exammanager/examquestion/selectquestType.jsp";
    }
    // 修改
    function updateModel(mid)
    {

        window.location.href = "<%= request.getContextPath()%>/moduleinfor/exammanager/examquestion/updateExamQuestion.jsp?id=" + mid;
    }

    // 修改
    function update()
    {
        var id = getCheckedId();
        if(id == null)
        {
            alert("请选择待修改项");
        }
        else
        {
            window.location.href = "<%= request.getContextPath()%>/moduleinfor/exammanager/examquestion/updateExamQuestion.jsp?id=" + id;
        }
    }

    // 删除
    function del()
    {
        detailForm.serviceURL.value = "exammanager.examquestion.DeleteExamQuestionService";
        if(hasSelected("ids"))
        {
            detailForm.method = "post";
            detailForm.submit();
        }
        else
        {
            alert("请选中待操作项");
        }
    }
    
    // 查询
    function query()
    {
        window.location.href = "<%= request.getContextPath()%>/moduleinfor/exammanager/examquestion/query.jsp";
    }
</script>
<%@ include file ="/common/List/willstarStyle/fullStyleList.jsp"%>
<script>
    // 选用框架提供的pri解决方案，必须
    changePriForm.serviceURL.value="exammanager.examquestion.ChangeExamQuestionPriService";
</script>
<%@ include file ="/common/List/bottom.jsp"%>
<!-- 
    此处的js将不会执行
-->
